import MockAdapter from 'axios-mock-adapter'

const userinfo = {
  account: '18862485306',
  username: 'langop'
}

export default {
  mockData (axios) {
    const mock = new MockAdapter(axios)

    // 1.用户信息
    const userInfoJson = {
      result: userinfo,
      resultcode: '0',
      resultdesc: 'success'
    }

    mock.onPost('/user/queryUserInfo').reply(200, userInfoJson)

    // 2.
  }
}
